package com.qianying.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Data
public class CustomerInfoVo {
    private Long id;

    @NotBlank(message = "客户代号不能为空")
    private String customerCode;

    @NotBlank(message = "客户名称不能为空")
    private String customerName;

    private String customerShortName;
    private String openingHeader;
    private String accountNumber;

    @NotNull(message = "默认税率不能为空")
    private BigDecimal defaultTaxRate;

    @NotNull(message = "默认结算方式不能为空")
    private Integer defaultSettlementMethod;

    @NotNull(message = "默认验收方式不能为空")
    private Integer defaultReceiptMethod;

    private Boolean needPurchasePublicInsurance;
    private Boolean needPurchaseWorkersInsurance;
    private Boolean needReportApproval;
    private Boolean needReceiptApproval;
    //营业执照
    private String businessLicense;

    private String provinceName;
    private String cityName;
    private String districtName;
    private String addressDetail;
}